﻿using Microsoft.EntityFrameworkCore;
using System.Threading.Tasks;
using ZFY.AspNetCore;

namespace ZFY.EntityFrameworkCore
{
    public interface IDbContextProvider<TDbContext>
        where TDbContext : DbContext
    {
        Task<TDbContext> GetDbContextAsync();
    }
}
